﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    ///<summary>
    ///库区
    ///</summary>
    [SugarTable("t_Area")]
    public partial class t_Area
    {
        public t_Area()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:库区编码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Code { get; set; }

        /// <summary>
        /// Desc:库区名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:是否物理库区
        /// Default:
        /// Nullable:True
        /// </summary>           
        public bool? IsRealArea { get; set; }

        /// <summary>
        /// Desc:库房Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int WhId { get; set; }

        /// <summary>
        /// Desc:库房编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WhCode { get; set; }

        /// <summary>
        /// Desc:库房名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WhName { get; set; }

        /// <summary>
        /// Desc:状态：0-禁用；1-正常；
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int Status { get; set; }

        /// <summary>
        /// Desc:类型Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int TypeId { get; set; }

        /// <summary>
        /// Desc:类型名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? TypeName { get; set; }

        /// <summary>
        /// Desc:对应ERP系统的库区编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ERPCode { get; set; }

        /// <summary>
        /// Desc:库区面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? BuiltArea { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Remark { get; set; }

        /// <summary>
        /// Desc:排序号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int DisplayOrder { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// Desc:创建人Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CreateUserName { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// Desc:修改用户Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ModifyUserId { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ModifyUserName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ShelfCount { get; set; }

    }
}
